首页> 外文OA文献 >A modified ziggurat algorithm for generating exponentially- and normally-distributed pseudorandom numbers
【2h】

A modified ziggurat algorithm for generating exponentially- and normally-distributed pseudorandom numbers

机译:一种改进的ziggurat算法,用于生成指数和   正态分布的伪随机数

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The Ziggurat Algorithm is a very fast rejection sampling method forgenerating PseudoRandom Numbers (PRNs) from common statistical distributions.The algorithm divides a distribution into rectangular layers that stack on topof each other (resembling a Ziggurat), subsuming the desired distribution.Random values within these rectangular layers are then sampled by rejection.This implementation splits layers into two types: those constituting themajority that fall completely under the distribution and can be sampledextremely fast without a rejection test, and a few additional layers thatencapsulate the fringe of the distribution and require a rejection test. Thismethod offers speedups of 65% for exponentially- and 82% fornormally-distributed PRNs when compared to the best available C implementationsof these generators. Even greater speedups are obtained when the algorithm isextended to the Python and MATLAB/OCTAVE programming environments.
机译:Ziggurat算法是一种非常快速的拒绝采样方法,可从常见的统计分布中生成伪随机数(PRN),该算法将分布分为矩形层,这些矩形层彼此堆叠(类似于Ziggurat),并包含所需的分布。此实现将图层分为两种类型:构成多数的那些完全落在分布下,并且可以在不进行拒绝测试的情况下极快地进行采样;还有一些附加层封装了分布的边缘并需要拒绝测试。与这些生成器的最佳可用C实现相比,此方法可将指数分布的PRN的速度提高65%,将正态分布的PRN的速度提高82%。当将该算法扩展到Python和MATLAB / OCTAVE编程环境时,可以获得更大的加速。

著录项

  • 作者

    McFarland, Christopher D;

  • 作者单位
  • 年度 2014
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"en","name":"English","id":9}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号